package com.wpre.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description: 关联的奖品信息
 * User: LianBao
 * Date: 2024-12-21
 * Time: 15:33
 */
@Data
public class CreatePrizeByActivityParam implements Serializable {


    //活动关联的奖品id
    @NotNull(message = "活动关联的奖品id不能为空")
    private Long prizeId;
    //奖品数量
    @NotNull(message = "奖品数量不能为空")
    private Long prizeAmount;
    //奖品的等级
    @NotBlank(message = "奖品等级不能为空")
    private String prizeTiers;


}
